package com.cjb.cloudsecurity.userMsg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjb.cloudsecurity.userMsg.entity.SysOrg;
import com.cjb.common.mybatisUtil.BaseRepository;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* 机构管理
*
* @author 陈锦斌 2213859123@qq.com
* @since 1.0.0 2023-09-03
*/
@Mapper
public interface SysOrgMapper extends BaseRepository<SysOrg > {
    List<SysOrg> getList(Map<String, Object> params);

    /**
     * 获取所有机构的id、pid列表
     */
    List<SysOrg> getIdAndPidList();
}